package com.edu.design.chain;

public class PresidentHandler extends AbstractHander {

	@Override
	public void discount(double pDisocunt) {
		if(pDisocunt>0.4d){
			getHandler().discount(pDisocunt);
		}else{
			System.out.println("president批准折扣："+pDisocunt);
		}
	}
	
	//可以附带其他处理

}
